<extend name="Public/base" />

<block name="body">
  <!-- 标题栏 -->
  <div class="main-title">
    <h2>{$meta_title}</h2>
  </div>

  <!-- 按钮工具栏 -->
  <div class="cf">

    <!-- 高级搜索 -->
    <form id="J_search_form" action="{:U('domain')}" method="GET">
      <div class="search-form fr cf">
        <div class="sleft">
          <input type="text" name="store" class="search-input" value="{:I('store')}" placeholder="请输入店铺名称">
        </div>
        <div class="sleft">
          <input type="text" name="domain" class="search-input" value="{:I('domain')}" placeholder="请输入店铺二级域名">
          <a class="sch-btn" href="javascript:;" id="J_search"><i class="btn-search"></i></a>
        </div>
      </div>
    </form>
  </div>
  
  <!-- 数据列表 -->
  <div class="data-table table-striped">
    <table class="">
      <thead>
        <tr>
          <th class="row-selected row-selected"><input class="check-all" type="checkbox"/></th>
          <th>二级域名</th>
          <th>店铺</th>
          <th>已修改次数</th>
          <th>店主账号</th>
          <th>操作</th>
        </tr>
      </thead>
      <tbody>
        <notempty name="lists">
          <volist name="lists" id="vo">
            <tr class="status_trclass_1">
              <td><input class="ids" type="checkbox" name="ids[]" value="{$vo.store_id}" /></td>
              <td>{$vo.domain}</td>
              <td>{$vo.store_name}</td>
              <td>{$vo.domain_change_times}</td>
              <td>{$vo.member_name}</td>
              <td>
                <a href="{:U('editDomain?id='.$vo['store_id'])}">[编辑]</a>
              </td>
            </tr>
          </volist>
        <else/>
          <td colspan="10" class="text-center"> aOh! 暂时还没有内容! </td>
        </notempty>
      </tbody>
    </table>
  </div>
  <div class="page">
    {$_page}
  </div>
</block>

<block name="script">
  <script type="text/javascript" charset="utf-8">
    //导航高亮
    highlight_subnav('{:U('Store/domain')}');
  </script>
</block>
